#define _CRT_SECURE_NO_WARNINGS
//test.c
#include"SeqList.h"

void testSeqList1()
{
	SeqList s1;
	SeqListInit(&s1);
	SeqListDestroy(&s1);
	SeqListPushBack(&s1, 5);
	SeqListPushBack(&s1, 6);
	SeqListPushBack(&s1, 7);
	SeqListPushBack(&s1, 8);
	SeqListPushBack(&s1, 9);
	SeqListPrint(&s1);
	SeqListPushFront(&s1, 4);
	SeqListPushFront(&s1, 3);
	SeqListPushFront(&s1, 2);
	SeqListPushFront(&s1, 1);
	SeqListPrint(&s1);
	//SeqListPopFront(&s1);
	SeqListPopBack(&s1);
	SeqListPrint(&s1);
	SeqListInsert(&s1, 5, 10);
	SeqListPrint(&s1);
	SeqListErase(&s1,5);
	SeqListPrint(&s1);


}

int main()
{
	testSeqList1();
	return 0;
}